package org.summer.lawyer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 
 * 
 * 
 */
/**
 * 商品统计表
 */
@Data
@TableName(value = "spu_stats")
public class SpuStats {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 商品ID
     */
    @TableField(value = "spu_id")
    private Long spuId;

    /**
     * 销售数量
     */
    @TableField(value = "total_sales")
    private Integer totalSales;
}